diff options
author | Alexander Nozdrin <alexander.nozdrin@oracle.com> | 2011-10-20 18:29:49 +0400 |
---|---|---|
committer | Alexander Nozdrin <alexander.nozdrin@oracle.com> | 2011-10-20 18:29:49 +0400 |
commit | 442ec56c11cae6cb5f0da0810ac5463a047d92e3 (patch) | |
tree | a4c20f3667f9ab1b9d0e87cb5b0fe3792df8c1d7 /tests | |
parent | a405d30e93096175618f28ada9e0e8cb5f94b914 (diff) | |
parent | ca881510f21b9b0787079ec478d563cf52d38264 (diff) | |
download | mariadb-git-442ec56c11cae6cb5f0da0810ac5463a047d92e3.tar.gz |
Auto-merge from mysql-5.1-security.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mysql_client_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c index a55ff0e4d32..540ee574c28 100644 --- a/tests/mysql_client_test.c +++ b/tests/mysql_client_test.c @@ -19703,14 +19703,14 @@ static void test_bug13001491() myheader("test_bug13001491"); - snprintf(query, MAX_TEST_QUERY_LENGTH, + my_snprintf(query, MAX_TEST_QUERY_LENGTH, "GRANT ALL PRIVILEGES ON *.* TO mysqltest_u1@%s", opt_host ? opt_host : "'localhost'"); rc= mysql_query(mysql, query); myquery(rc); - snprintf(query, MAX_TEST_QUERY_LENGTH, + my_snprintf(query, MAX_TEST_QUERY_LENGTH, "GRANT RELOAD ON *.* TO mysqltest_u1@%s", opt_host ? opt_host : "'localhost'"); @@ -19763,7 +19763,7 @@ static void test_bug13001491() mysql_close(c); c= NULL; - snprintf(query, MAX_TEST_QUERY_LENGTH, + my_snprintf(query, MAX_TEST_QUERY_LENGTH, "DROP USER mysqltest_u1@%s", opt_host ? opt_host : "'localhost'"); |