Commit c67ccdcd authored by Alexander Nozdrin's avatar Alexander Nozdrin

Fix Windows-build failure: use my_snprintf() instead of snprintf().

parent 7d882c19
...@@ -18524,14 +18524,14 @@ static void test_bug13001491() ...@@ -18524,14 +18524,14 @@ static void test_bug13001491()
myheader("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", "GRANT ALL PRIVILEGES ON *.* TO mysqltest_u1@%s",
opt_host ? opt_host : "'localhost'"); opt_host ? opt_host : "'localhost'");
rc= mysql_query(mysql, query); rc= mysql_query(mysql, query);
myquery(rc); myquery(rc);
snprintf(query, MAX_TEST_QUERY_LENGTH, my_snprintf(query, MAX_TEST_QUERY_LENGTH,
"GRANT RELOAD ON *.* TO mysqltest_u1@%s", "GRANT RELOAD ON *.* TO mysqltest_u1@%s",
opt_host ? opt_host : "'localhost'"); opt_host ? opt_host : "'localhost'");
...@@ -18584,7 +18584,7 @@ static void test_bug13001491() ...@@ -18584,7 +18584,7 @@ static void test_bug13001491()
mysql_close(c); mysql_close(c);
c= NULL; c= NULL;
snprintf(query, MAX_TEST_QUERY_LENGTH, my_snprintf(query, MAX_TEST_QUERY_LENGTH,
"DROP USER mysqltest_u1@%s", "DROP USER mysqltest_u1@%s",
opt_host ? opt_host : "'localhost'"); opt_host ? opt_host : "'localhost'");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment