Add actually some sane value to field flags

This commit is contained in:
Michal Čihař
2011-12-14 09:56:02 +01:00
parent 396e5716f8
commit cec8f1b094

View File

@@ -435,7 +435,7 @@ function PMA_DBI_get_fields_meta($result)
$num_fields = mysql_num_fields($result); $num_fields = mysql_num_fields($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 = ''; $field->flags = mysql_field_flags($result, $i);
$fields[] = $field; $fields[] = $field;
} }
return $fields; return $fields;