mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 01:54:00 +02:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user