Fill orgtable and orgname attributes

This commit is contained in:
Michal Čihař
2011-12-14 09:58:47 +01:00
parent cec8f1b094
commit 91241f71d3

View File

@@ -436,6 +436,8 @@ function PMA_DBI_get_fields_meta($result)
for ($i = 0; $i < $num_fields; $i++) { for ($i = 0; $i < $num_fields; $i++) {
$field = mysql_fetch_field($result, $i); $field = mysql_fetch_field($result, $i);
$field->flags = mysql_field_flags($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; $fields[] = $field;
} }
return $fields; return $fields;