mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
mysqldump.c:
Fix for UNLOCK TABLES bug #2242 client/mysqldump.c: Fix for UNLOCK TABLES bug #2242
This commit is contained in:
parent
b703338d76
commit
7622c393a9
1 changed files with 2 additions and 2 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue