native comments

This commit is contained in:
Marc Delisle
2005-03-06 12:33:19 +00:00
parent f7da2e9bfb
commit e430651d24
4 changed files with 12 additions and 4 deletions

View File

@@ -331,8 +331,11 @@ function PMA_getTableComments($db, $table, $crlf, $do_relation = false, $do_comm
$schema_create = '';
// triggered only for MySQL < 4.1.x (pmadb-style comments)
if ($do_comments && $cfgRelation['commwork']) {
if (!($comments_map = PMA_getComments($db, $table))) unset($comments_map);
if (!($comments_map = PMA_getComments($db, $table))) {
unset($comments_map);
}
}
// Check if we can use Relations (Mike Beck)