summaryrefslogtreecommitdiff
path: root/tests
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 /tests
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 'tests')
-rw-r--r--tests/mysql_client_test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c
index 139595a5471..37d6d951f96 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -6805,6 +6805,7 @@ static void test_set_option()
bug #89 (reported by mark@mysql.com)
*/
+#ifndef EMBEDDED_LIBRARY
static void test_prepare_grant()
{
int rc;
@@ -6896,7 +6897,7 @@ static void test_prepare_grant()
}
}
-
+#endif /* EMBEDDED_LIBRARY */
/*
Test a crash when invalid/corrupted .frm is used in the
@@ -11566,7 +11567,7 @@ static void test_bug8330()
const char *stmt_text;
MYSQL_STMT *stmt[2];
int i, rc;
- char *query= "select a,b from t1 where a=?";
+ const char *query= "select a,b from t1 where a=?";
MYSQL_BIND bind[2];
long lval[2];