mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
fix misplaced and non-working if() in the grammar
few small post-merge fixes
This commit is contained in:
parent
c97f938bcf
commit
aac3a1eac9
11 changed files with 18 additions and 49 deletions
|
|
@ -32,8 +32,7 @@ SELECT user,plugin,authentication_string FROM mysql.user WHERE user != 'root';
|
|||
--echo 1)
|
||||
--replace_result $MASTER_MYSOCK MASTER_MYSOCK
|
||||
--exec $MYSQL -S $MASTER_MYSOCK -u plug_user --password=plug_dest -e "SELECT current_user();SELECT user();USE test_user_db;CREATE TABLE t1(a int);SHOW TABLES;DROP TABLE t1;" 2>&1
|
||||
REVOKE ALL PRIVILEGES ON test_user_db.* FROM 'plug_user'
|
||||
IDENTIFIED WITH test_plugin_server AS 'plug_dest';
|
||||
REVOKE ALL PRIVILEGES ON test_user_db.* FROM 'plug_user';
|
||||
--echo 2)
|
||||
--replace_result $MASTER_MYSOCK MASTER_MYSOCK
|
||||
--exec $MYSQL -S $MASTER_MYSOCK -u plug_user --password=plug_dest -e "SELECT current_user();SELECT user();USE test_user_db;CREATE TABLE t1(a int);SHOW TABLES;DROP TABLE t1;" 2>&1
|
||||
|
|
@ -54,10 +53,8 @@ GRANT PROXY ON plug_dest TO plug_user;
|
|||
--echo 2)
|
||||
--replace_result $MASTER_MYSOCK MASTER_MYSOCK
|
||||
--exec $MYSQL -S $MASTER_MYSOCK -u plug_user --password=plug_dest -e "SELECT current_user();SELECT user();USE test_user_db;CREATE TABLE t1(a int);SHOW TABLES;DROP TABLE t1;" 2>&1
|
||||
REVOKE ALL PRIVILEGES ON test_user_db.* FROM 'plug_user'
|
||||
IDENTIFIED WITH test_plugin_server AS 'plug_dest';
|
||||
#REVOKE ALL PRIVILEGES ON test_user_db.* FROM 'plug_dest'
|
||||
# IDENTIFIED BY 'plug_dest_passwd';
|
||||
REVOKE ALL PRIVILEGES ON test_user_db.* FROM 'plug_user';
|
||||
#REVOKE ALL PRIVILEGES ON test_user_db.* FROM 'plug_dest'';
|
||||
DROP USER plug_user,plug_dest;
|
||||
|
||||
--echo ========== test 1.2 ========================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue