mysqldump.c:

  Fix harmless typo (caught thanks to warning)
parent 64f58239
...@@ -3268,13 +3268,13 @@ static int do_unlock_tables(MYSQL *mysql_con) ...@@ -3268,13 +3268,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;
......
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