From 91241f71d329d6692c9761ded0b19d6f75730fec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 14 Dec 2011 09:58:47 +0100 Subject: [PATCH] Fill orgtable and orgname attributes --- libraries/dbi/mysql.dbi.lib.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/dbi/mysql.dbi.lib.php b/libraries/dbi/mysql.dbi.lib.php index 408f6a3b3..87be16285 100644 --- a/libraries/dbi/mysql.dbi.lib.php +++ b/libraries/dbi/mysql.dbi.lib.php @@ -436,6 +436,8 @@ function PMA_DBI_get_fields_meta($result) for ($i = 0; $i < $num_fields; $i++) { $field = mysql_fetch_field($result, $i); $field->flags = mysql_field_flags($result, $i); + $field->orgtable = mysql_field_table($result, $i); + $field->orgname = mysql_field_name($result, $i); $fields[] = $field; } return $fields;