1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +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:
unknown
2007-05-31 00:37:41 +02:00
parent fece1d6fed
commit 13f1874475

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;