1
0
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:
dkatz@damien-katzs-computer.local
2007-06-13 16:24:21 -04:00
parent 13adcedc90
commit 471173c57c
3 changed files with 30 additions and 1 deletions

View File

@@ -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;