From 298e5002e370b9426f7974813d9b73ba53a8662e Mon Sep 17 00:00:00 2001 From: "tsmith@quadxeon.mysql.com" <> Date: Thu, 31 May 2007 00:40:56 +0200 Subject: mysqldump.c: Fix harmless typo (caught thanks to warning) --- client/mysqldump.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client') diff --git a/client/mysqldump.c b/client/mysqldump.c index b334e8d9a11..a70098d0eb6 100644 --- a/client/mysqldump.c +++ b/client/mysqldump.c @@ -3268,13 +3268,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; -- cgit v1.2.1