From 75009db84911867a3fc37b3d2efcf442064e5753 Mon Sep 17 00:00:00 2001 From: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> Date: Thu, 31 Dec 2020 09:50:56 +0200 Subject: [PATCH] Adding simple test for 'expect_table_structure' scenario --- localtests/autoinc-copy-simple/create.sql | 11 +++++++++++ localtests/autoinc-copy-simple/expect_table_structure | 1 + 2 files changed, 12 insertions(+) create mode 100644 localtests/autoinc-copy-simple/create.sql create mode 100644 localtests/autoinc-copy-simple/expect_table_structure diff --git a/localtests/autoinc-copy-simple/create.sql b/localtests/autoinc-copy-simple/create.sql new file mode 100644 index 0000000..8aa19bb --- /dev/null +++ b/localtests/autoinc-copy-simple/create.sql @@ -0,0 +1,11 @@ +drop table if exists gh_ost_test; +create table gh_ost_test ( + id int auto_increment, + i int not null, + primary key(id) +) auto_increment=1; + +insert into gh_ost_test values (NULL, 11); +insert into gh_ost_test values (NULL, 13); +insert into gh_ost_test values (NULL, 17); +insert into gh_ost_test values (NULL, 23); diff --git a/localtests/autoinc-copy-simple/expect_table_structure b/localtests/autoinc-copy-simple/expect_table_structure new file mode 100644 index 0000000..3ed5902 --- /dev/null +++ b/localtests/autoinc-copy-simple/expect_table_structure @@ -0,0 +1 @@ +AUTO_INCREMENT=5