summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2012-06-13 12:59:45 +0300
committerMichael Widenius <monty@askmonty.org>2012-06-13 12:59:45 +0300
commit94d68777bbb0ebd42674a4fae77c414050ef57d8 (patch)
tree66a65bef67fec8fa3052913709fc0da72fa4070e /client
parent036c4d8e8f67b5a6a805503a2861c7608c23970a (diff)
downloadmariadb-git-94d68777bbb0ebd42674a4fae77c414050ef57d8.tar.gz
Fixed some compiler warnings and test failures found by buildbot
client/mysqldump.c: Added LINT_INIT mysql-test/mysql-test-run.pl: Disable warning if example engine is not found mysql-test/suite/rpl/t/rpl_semi_sync.test: Rpl_semi_sync_master_yes_tx may be different on Windows sql/sql_plugin.cc: More DBUG_PRINT support-files/compiler_warnings.supp: Disable some innobase warnings unittest/mysys/my_vsnprintf-t.c: Fixed test failure on Solaris (typo)
Diffstat (limited to 'client')
-rw-r--r--client/mysqldump.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index d248e8cc811..94327aee0c0 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -4745,6 +4745,8 @@ static int do_show_slave_status(MYSQL *mysql_con)
MYSQL_RES *slave;
const char *comment_prefix=
(opt_slave_data == MYSQL_OPT_SLAVE_DATA_COMMENTED_SQL) ? "-- " : "";
+ LINT_INIT(slave);
+
if (mysql_query_with_error_report(mysql_con, &slave, "SHOW SLAVE STATUS"))
{
if (!ignore_errors)