diff options
author | Alexander Nozdrin <alexander.nozdrin@oracle.com> | 2011-10-20 18:06:41 +0400 |
---|---|---|
committer | Alexander Nozdrin <alexander.nozdrin@oracle.com> | 2011-10-20 18:06:41 +0400 |
commit | ca881510f21b9b0787079ec478d563cf52d38264 (patch) | |
tree | 91ce54dea2c3d5cf1067d3e35e0a0ce3ad76a846 /tests | |
parent | 8444b6a1149aad457f8d584e0d410c3be9cd4336 (diff) | |
download | mariadb-git-ca881510f21b9b0787079ec478d563cf52d38264.tar.gz |
Fix Windows-build failure: use my_snprintf() instead of snprintf().
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 2472a0b6df6..f553eb530ae 100644 --- a/tests/mysql_client_test.c +++ b/tests/mysql_client_test.c @@ -18524,14 +18524,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'"); @@ -18584,7 +18584,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'"); |