mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
Auto-merge from mysql-5.1-security.
This commit is contained in:
commit
b3d0054308
1 changed files with 3 additions and 3 deletions
|
@ -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'");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue