improved rename:DELETE test
This commit is contained in:
parent
f33bebb527
commit
f947c46e3c
@ -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 ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user