improved rename:DELETE test
This commit is contained in:
parent
f947c46e3c
commit
b380578f53
@ -22,5 +22,5 @@ begin
|
|||||||
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=1;
|
delete from gh_ost_test where id=1;
|
||||||
delete from gh_ost_test where c1=11; -- id=2
|
delete from gh_ost_test where c1=13; -- id=2
|
||||||
end ;;
|
end ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user