should backquote the field named comment

This commit is contained in:
Marc Delisle
2003-02-06 17:49:29 +00:00
parent 49ce7d92ef
commit 338198dc83
5 changed files with 9 additions and 6 deletions

View File

@@ -49,7 +49,7 @@ if (isset($do) && $do == 'import') {
$inf = explode('|',$line);
if (!empty($inf[1]) && strlen(trim($inf[1])) > 0) {
$qry = 'INSERT INTO ' . PMA_backquote($cfgRelation['column_comments'])
. ' (db_name, table_name, column_name, comment) '
. ' (db_name, table_name, column_name, ' . PMA_backquote('comment') . ') '
. ' VALUES('
. '\'' . PMA_sqlAddslashes($db) . '\','
. '\'' . PMA_sqlAddslashes(trim($tab)) . '\','