mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
A patch for Bug#21854: Problems with CREATE TRIGGER without
DEFINER clause in --skip-grant-tables mode. Update error message.
This commit is contained in:
@ -133,9 +133,9 @@ CREATE DEFINER='mysqltest_nonexs'@'localhost'
|
||||
FOR EACH ROW
|
||||
SET @new_sum = 0;
|
||||
Warnings:
|
||||
Note 1449 There is no 'mysqltest_nonexs'@'localhost' registered
|
||||
Note 1449 The user specified as a definer ('mysqltest_nonexs'@'localhost') is invalid or not registered
|
||||
INSERT INTO t1 VALUES(6);
|
||||
ERROR HY000: There is no 'mysqltest_nonexs'@'localhost' registered
|
||||
ERROR HY000: The user specified as a definer ('mysqltest_nonexs'@'localhost') is invalid or not registered
|
||||
SHOW TRIGGERS;
|
||||
Trigger Event Table Statement Timing Created sql_mode Definer character_set_client collation_connection Database Collation
|
||||
trg1 INSERT t1 SET @new_sum = 0 BEFORE NULL mysqltest_inv@localhost latin1 latin1_swedish_ci latin1_swedish_ci
|
||||
|
Reference in New Issue
Block a user