summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2005-07-28 21:25:05 +0300
committerunknown <monty@mysql.com>2005-07-28 21:25:05 +0300
commitd2810c56cf3e23553038e52d99d89624fff79e96 (patch)
treeb252523c60a966126c131c027e46d75b320daaba /client
parent167fb5f17025966046b2459531b27462b5c77c9a (diff)
downloadmariadb-git-d2810c56cf3e23553038e52d99d89624fff79e96.tar.gz
Fixed compiler warnings
client/mysqldump.c: Fixed wrong argument to printf() client/mysqltest.c: Fixed compiler warning myisam/ft_boolean_search.c: Fixed compiler warning myisammrg/myrg_static.c: Fixed compiler warning mysql-test/r/rpl_drop_temp.result: Drop used database mysql-test/t/rpl_drop_temp.test: Drop used database ndb/src/common/logger/LogHandler.cpp: Fixed compiler warning sql/field.cc: Fixed compiler warning sql/ha_ndbcluster.cc: Fixed compiler warning sql/sql_base.cc: Fixed compiler warning tests/mysql_client_test.c: Fixed compiler warning
Diffstat (limited to 'client')
-rw-r--r--client/mysqldump.c2
-rw-r--r--client/mysqltest.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index d29667052ee..69f323fd8ec 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -2370,7 +2370,7 @@ static int do_show_master_status(MYSQL *mysql_con)
{
/* SHOW MASTER STATUS reports nothing and --force is not enabled */
my_printf_error(0, "Error: Binlogging on server not active",
- MYF(0), mysql_error(mysql_con));
+ MYF(0));
mysql_free_result(master);
return 1;
}
diff --git a/client/mysqltest.c b/client/mysqltest.c
index b23b77e9bca..29ccbc3e1b8 100644
--- a/client/mysqltest.c
+++ b/client/mysqltest.c
@@ -2654,6 +2654,7 @@ static int run_query_normal(MYSQL* mysql, struct st_query* q, int flags)
if (!disable_result_log)
{
ulong affected_rows; /* Ok to be undef if 'disable_info' is set */
+ LINT_INIT(affected_rows);
if (res)
{