diff options
author | monty@mysql.com <> | 2005-07-28 21:25:05 +0300 |
---|---|---|
committer | monty@mysql.com <> | 2005-07-28 21:25:05 +0300 |
commit | 987edeaa9b5f6190b276608b10a96f0f78edb0d5 (patch) | |
tree | b252523c60a966126c131c027e46d75b320daaba /tests | |
parent | 3c12d0ae54eccaef7c265af4f782d95250308dc9 (diff) | |
download | mariadb-git-987edeaa9b5f6190b276608b10a96f0f78edb0d5.tar.gz |
Fixed compiler warnings
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mysql_client_test.c | 5 |
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]; |