mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fixing a bug in the recent commit that added trigger names into error messages
Trigger names were erroneously cut to 8 or 4 bytes (on 64 and 32 bit machines). Recording correct tests results.
This commit is contained in:
@@ -19,7 +19,7 @@ SET @sum = @sum + NEW.val + 1
|
||||
connection master;
|
||||
CREATE TRIGGER IF NOT EXISTS val_sum AFTER INSERT ON t1 FOR EACH ROW SET @sum = @sum + NEW.val + 2;
|
||||
Warnings:
|
||||
Note 1359 Trigger 'db1.val_' already exists
|
||||
Note 1359 Trigger 'db1.val_sum' already exists
|
||||
SELECT ACTION_STATEMENT AS ACTION_STATEMENT_Master FROM INFORMATION_SCHEMA.TRIGGERS WHERE TRIGGER_NAME='val_sum';
|
||||
ACTION_STATEMENT_Master
|
||||
SET @sum = @sum + NEW.val + 1
|
||||
|
Reference in New Issue
Block a user