From 1bd93bda70fc8330aa2f3d11f04313d4ad649781 Mon Sep 17 00:00:00 2001 From: Shlomi Noach Date: Mon, 22 Aug 2016 16:28:40 +0200 Subject: [PATCH] localtest: rename: testing for DELETE --- localtests/rename/create.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/localtests/rename/create.sql b/localtests/rename/create.sql index ed062dc..10c211a 100644 --- a/localtests/rename/create.sql +++ b/localtests/rename/create.sql @@ -19,4 +19,5 @@ begin insert into gh_ost_test values (null, 17, 23); 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; + delete from gh_ost_test where id <= 2 order by id asc limit 1; end ;;