mirror of
https://github.com/MariaDB/server.git
synced 2025-11-16 20:23:18 +03:00
Bug #28953 Using events in a replication let the slave crash.
Fixed where the slave code would try to update the Lex->sphead which is NULL on an "alter table" commands.
This commit is contained in:
@@ -157,3 +157,9 @@ test slave_terminate SLAVESIDE_DISABLED 2
|
||||
DROP EVENT test.slave_terminate;
|
||||
"in the master"
|
||||
DROP TABLE t1;
|
||||
CREATE EVENT event1 ON SCHEDULE EVERY 1 YEAR
|
||||
DO BEGIN
|
||||
select * from t1;
|
||||
END;|
|
||||
ALTER EVENT event1 RENAME TO event2;
|
||||
DROP EVENT event2;
|
||||
|
||||
Reference in New Issue
Block a user