Table and charset in PDO fetch_field()
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@326 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
57937358cd
commit
a693ae9418
|
@ -177,7 +177,9 @@ if (extension_loaded("mysqli")) {
|
|||
|
||||
function fetch_field() {
|
||||
$row = (object) $this->getColumnMeta($this->_offset++);
|
||||
// table and charset is not available
|
||||
$row->orgtable = $row->table;
|
||||
$row->orgname = $row->name;
|
||||
$row->charsetnr = (in_array("blob", $row->flags) ? 63 : 0);
|
||||
return $row;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue