Re-enable event
This commit is contained in:
parent
0141c2e265
commit
b42a0a7589
@ -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 (2, 8, 'Fail');
|
||||||
insert into gh_ost_test values (3, 19, 'Pass');
|
insert into gh_ost_test values (3, 19, 'Pass');
|
||||||
|
|
||||||
/*
|
|
||||||
drop event if exists gh_ost_test;
|
drop event if exists gh_ost_test;
|
||||||
delimiter ;;
|
delimiter ;;
|
||||||
create event gh_ost_test
|
create event gh_ost_test
|
||||||
@ -21,10 +20,6 @@ create event gh_ost_test
|
|||||||
enable
|
enable
|
||||||
do
|
do
|
||||||
begin
|
begin
|
||||||
insert into gh_ost_test values (null, 11, 'red');
|
insert into gh_ost_test (i, result) values(12345, 0);
|
||||||
insert into gh_ost_test values (null, 13, 'green');
|
insert into gh_ost_test (i, result) values(12345, 1);
|
||||||
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;
|
|
||||||
end ;;
|
end ;;
|
||||||
*/
|
|
||||||
|
Loading…
Reference in New Issue
Block a user