Commit 7622c393 authored by unknown's avatar unknown

mysqldump.c:

  Fix for UNLOCK TABLES bug #2242


client/mysqldump.c:
  Fix for UNLOCK TABLES bug #2242
parent b703338d
......@@ -1389,7 +1389,7 @@ static int dump_all_tables_in_db(char *database)
if (opt_xml)
fprintf(md_result_file, "</database>\n");
if (lock_tables)
mysql_query(sock,"UNLOCK_TABLES");
mysql_query(sock,"UNLOCK TABLES");
return 0;
} /* dump_all_tables_in_db */
......@@ -1435,7 +1435,7 @@ static int dump_selected_tables(char *db, char **table_names, int tables)
if (opt_xml)
fprintf(md_result_file, "</database>\n");
if (lock_tables)
mysql_query(sock,"UNLOCK_TABLES");
mysql_query(sock,"UNLOCK TABLES");
return 0;
} /* dump_selected_tables */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment