summaryrefslogtreecommitdiff
path: root/client/mysqldump.c
diff options
context:
space:
mode:
authorunknown <tsmith@quadxeon.mysql.com>2007-05-31 00:37:41 +0200
committerunknown <tsmith@quadxeon.mysql.com>2007-05-31 00:37:41 +0200
commit13f18744758853dc3a9b5ae43d1be9136be7d8ed (patch)
treeb0448454e98fdb0b6c624c6782efb23774bdab6a /client/mysqldump.c
parentfece1d6fed8c9f4ae3e261460416a74c1e56bef5 (diff)
downloadmariadb-git-13f18744758853dc3a9b5ae43d1be9136be7d8ed.tar.gz
mysqldump.c:
Fix harmless typo (caught thanks to warning) client/mysqldump.c: Fix harmless typo (caught thanks to warning)
Diffstat (limited to 'client/mysqldump.c')
-rw-r--r--client/mysqldump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index fa25701eb91..8ab52ccab64 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -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;