From b42a0a758949f12c8223f64b55b2775d01809ea3 Mon Sep 17 00:00:00 2001 From: Tim Vaillancourt Date: Wed, 7 Sep 2022 02:59:51 +0200 Subject: [PATCH] Re-enable event --- localtests/enum-modified/create.sql | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/localtests/enum-modified/create.sql b/localtests/enum-modified/create.sql index dd4b5d9..3c5582d 100644 --- a/localtests/enum-modified/create.sql +++ b/localtests/enum-modified/create.sql @@ -10,7 +10,6 @@ insert into gh_ost_test values (1, 7, 'Pass'); insert into gh_ost_test values (2, 8, 'Fail'); insert into gh_ost_test values (3, 19, 'Pass'); -/* drop event if exists gh_ost_test; delimiter ;; create event gh_ost_test @@ -21,10 +20,6 @@ create event gh_ost_test enable do begin - insert into gh_ost_test values (null, 11, 'red'); - insert into gh_ost_test values (null, 13, 'green'); - insert into gh_ost_test values (null, 17, 'blue'); - set @last_insert_id := last_insert_id(); - update gh_ost_test set e='orange' where id = @last_insert_id; + insert into gh_ost_test (i, result) values(12345, 0); + insert into gh_ost_test (i, result) values(12345, 1); end ;; -*/