mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
Notices: Declare properties in fetch_field()
This commit is contained in:
@@ -112,8 +112,7 @@ if (isset($_GET["oracle"])) {
|
||||
$column = $this->offset++;
|
||||
$return = new \stdClass;
|
||||
$return->name = oci_field_name($this->result, $column);
|
||||
$return->orgname = $return->name;
|
||||
$return->type = oci_field_type($this->result, $column);
|
||||
$return->type = oci_field_type($this->result, $column); //! map to MySQL numbers
|
||||
$return->charsetnr = (preg_match("~raw|blob|bfile~", $return->type) ? 63 : 0); // 63 - binary
|
||||
return $return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user