problem with getting comments when creating a new table under MySQL 4.1.x with extension mysql

This commit is contained in:
Marc Delisle
2005-03-10 19:49:09 +00:00
parent 41ae394e2e
commit c84507f8d9
3 changed files with 15 additions and 4 deletions

View File

@@ -81,6 +81,10 @@ function PMA_DBI_get_fields($database, $table, $link = NULL) {
// tbl_create + tbl_properties.inc.php, the table does not exist
$result = PMA_DBI_try_query('SHOW FULL FIELDS FROM ' . PMA_backquote($database) . '.' . PMA_backquote($table), $link);
if (!$result) {
return FALSE;
}
$fields = array();
while ($row = PMA_DBI_fetch_assoc($result)) {
$fields[] = $row;