improved rename:DELETE test

This commit is contained in:
Shlomi Noach 2016-08-22 16:34:00 +02:00
parent f33bebb527
commit f947c46e3c

View File

@ -21,5 +21,6 @@ begin
insert into gh_ost_test values (null, 17, 23); insert into gh_ost_test values (null, 17, 23);
set @last_insert_id := last_insert_id(); set @last_insert_id := last_insert_id();
update gh_ost_test set c1=c1+@last_insert_id, c2=c2+@last_insert_id where id = @last_insert_id order by id desc limit 1; update gh_ost_test set c1=c1+@last_insert_id, c2=c2+@last_insert_id where id = @last_insert_id order by id desc limit 1;
delete from gh_ost_test where id in (1,2); delete from gh_ost_test where id=1;
delete from gh_ost_test where c1=11; -- id=2
end ;; end ;;