diff options
author | tsmith@quadxeon.mysql.com <> | 2007-05-31 00:40:56 +0200 |
---|---|---|
committer | tsmith@quadxeon.mysql.com <> | 2007-05-31 00:40:56 +0200 |
commit | 298e5002e370b9426f7974813d9b73ba53a8662e (patch) | |
tree | 3333978e86b78205a0a1ef2c1be4e04be6eb2023 /client | |
parent | 64f582396b64363dd12fd8001007f49e9a44b19f (diff) | |
download | mariadb-git-298e5002e370b9426f7974813d9b73ba53a8662e.tar.gz |
mysqldump.c:
Fix harmless typo (caught thanks to warning)
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqldump.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |