mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
mysqldump.c:
Fix harmless typo (caught thanks to warning) client/mysqldump.c: Fix harmless typo (caught thanks to warning)
This commit is contained in:
@@ -3692,13 +3692,13 @@ static int do_unlock_tables(MYSQL *mysql_con)
|
|||||||
return mysql_query_with_error_report(mysql_con, 0, "UNLOCK TABLES");
|
return mysql_query_with_error_report(mysql_con, 0, "UNLOCK TABLES");
|
||||||
}
|
}
|
||||||
|
|
||||||
static int get_bin_log_name(MYSQL *mysql_con,
|
static int get_bin_log_name(MYSQL *mysql_con,
|
||||||
char* buff_log_name, uint buff_len)
|
char* buff_log_name, uint buff_len)
|
||||||
{
|
{
|
||||||
MYSQL_RES *res;
|
MYSQL_RES *res;
|
||||||
MYSQL_ROW row;
|
MYSQL_ROW row;
|
||||||
|
|
||||||
if (mysql_query(mysql, "SHOW MASTER STATUS") ||
|
if (mysql_query(mysql_con, "SHOW MASTER STATUS") ||
|
||||||
!(res= mysql_store_result(mysql)))
|
!(res= mysql_store_result(mysql)))
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user