Skip to content

Commit

Permalink
Merge pull request #535 from github/keyword-column
Browse files Browse the repository at this point in the history
Adding keyword-column tests
  • Loading branch information
Shlomi Noach authored Jan 14, 2018
2 parents 83416fb + 6e0b4c6 commit 7133a11
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
13 changes: 13 additions & 0 deletions localtests/keyword-column/create.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
drop table if exists gh_ost_test;
create table gh_ost_test (
id int auto_increment,
i int not null,
color varchar(32),
primary key(id)
) auto_increment=1;

drop event if exists gh_ost_test;

insert into gh_ost_test values (null, 11, 'red');
insert into gh_ost_test values (null, 13, 'green');
insert into gh_ost_test values (null, 17, 'blue');
1 change: 1 addition & 0 deletions localtests/keyword-column/extra_args
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--alter='add column `index` int unsigned' \
1 change: 1 addition & 0 deletions localtests/keyword-column/ghost_columns
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
id, i, color
1 change: 1 addition & 0 deletions localtests/keyword-column/orig_columns
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
id, i, color

0 comments on commit 7133a11

Please sign in to comment.