mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
more verbose tests
This commit is contained in:
@ -212,6 +212,7 @@ disconnect rl_contender;
|
||||
drop procedure p1;
|
||||
drop table t1;
|
||||
set session low_priority_updates=default;
|
||||
# switching from mysql.global_priv to mysql.user
|
||||
INSERT IGNORE INTO mysql.user (Host, User, Password, Select_priv, Insert_priv, Update_priv,
|
||||
Delete_priv, Create_priv, Drop_priv, Reload_priv, Shutdown_priv, Process_priv, File_priv,
|
||||
Grant_priv, References_priv, Index_priv, Alter_priv, Show_db_priv, Super_priv,
|
||||
@ -231,6 +232,7 @@ CREATE PROCEDURE p1(i INT) BEGIN END;
|
||||
disconnect con1;
|
||||
connection default;
|
||||
DROP PROCEDURE p1;
|
||||
# switching back from mysql.user to mysql.global_priv
|
||||
#
|
||||
# Bug#44521 Prepared Statement: CALL p() - crashes: `! thd->main_da.is_sent' failed et.al.
|
||||
#
|
||||
@ -323,6 +325,7 @@ DROP EVENT teste_bug11763507;
|
||||
# ------------------------------------------------------------------
|
||||
# -- End of 5.1 tests
|
||||
# ------------------------------------------------------------------
|
||||
# switching from mysql.global_priv to mysql.user
|
||||
grant create routine on test.* to foo1@localhost identified by 'foo';
|
||||
update mysql.user set authentication_string = replace(authentication_string, '*', '-') where user='foo1';
|
||||
connect foo,localhost,foo1,foo;
|
||||
@ -347,4 +350,5 @@ connection default;
|
||||
disconnect foo;
|
||||
drop procedure spfoo;
|
||||
drop user foo1@localhost;
|
||||
# switching back from mysql.user to mysql.global_priv
|
||||
set @@global.concurrent_insert= @old_concurrent_insert;
|
||||
|
Reference in New Issue
Block a user