mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
Test fails because of non deterministric function: show grants for current_user()
This commit is contained in:
parent
0f1665da3c
commit
7be4b6b5f4
2 changed files with 0 additions and 6 deletions
|
@ -60,11 +60,6 @@ grant all on mysqltest_db2.* to `mysqltest_u1`@`%`;
|
||||||
create database mysqltest_db1;
|
create database mysqltest_db1;
|
||||||
grant all on mysqltest_db1.* to `mysqltest_u1`@`%`;
|
grant all on mysqltest_db1.* to `mysqltest_u1`@`%`;
|
||||||
flush privileges;
|
flush privileges;
|
||||||
show grants for current_user();
|
|
||||||
Grants for mysqltest_u1@%
|
|
||||||
GRANT USAGE ON *.* TO 'mysqltest_u1'@'%'
|
|
||||||
GRANT ALL PRIVILEGES ON `mysqltest_db2`.* TO 'mysqltest_u1'@'%'
|
|
||||||
GRANT ALL PRIVILEGES ON `mysqltest_db1`.* TO 'mysqltest_u1'@'%'
|
|
||||||
create database mysqltest_db2;
|
create database mysqltest_db2;
|
||||||
ERROR HY000: The MySQL server is running with the --read-only option so it cannot execute this statement
|
ERROR HY000: The MySQL server is running with the --read-only option so it cannot execute this statement
|
||||||
show databases like '%mysqltest_db2%';
|
show databases like '%mysqltest_db2%';
|
||||||
|
|
|
@ -137,7 +137,6 @@ grant all on mysqltest_db1.* to `mysqltest_u1`@`%`;
|
||||||
flush privileges;
|
flush privileges;
|
||||||
connect (con_bug27440,127.0.0.1,mysqltest_u1,,test,$MASTER_MYPORT,);
|
connect (con_bug27440,127.0.0.1,mysqltest_u1,,test,$MASTER_MYPORT,);
|
||||||
connection con_bug27440;
|
connection con_bug27440;
|
||||||
show grants for current_user();
|
|
||||||
--error ER_OPTION_PREVENTS_STATEMENT
|
--error ER_OPTION_PREVENTS_STATEMENT
|
||||||
create database mysqltest_db2;
|
create database mysqltest_db2;
|
||||||
show databases like '%mysqltest_db2%';
|
show databases like '%mysqltest_db2%';
|
||||||
|
|
Loading…
Add table
Reference in a new issue