1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

mysqldump.c:

Fix harmless typo (caught thanks to warning)
This commit is contained in:
tsmith@quadxeon.mysql.com
2007-05-31 00:37:41 +02:00
parent c1c60a17dc
commit e97729a38f

View File

@@ -3692,13 +3692,13 @@ static int do_unlock_tables(MYSQL *mysql_con)
return mysql_query_with_error_report(mysql_con, 0, "UNLOCK TABLES");
}
static int get_bin_log_name(MYSQL *mysql_con,
char* buff_log_name, uint buff_len)
static int get_bin_log_name(MYSQL *mysql_con,
char* buff_log_name, uint buff_len)
{
MYSQL_RES *res;
MYSQL_ROW row;
if (mysql_query(mysql, "SHOW MASTER STATUS") ||
if (mysql_query(mysql_con, "SHOW MASTER STATUS") ||
!(res= mysql_store_result(mysql)))
return 1;