alter table bar add column added_8 mediumtext default NULL first, add column added_81 mediumtext default NULL;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_1 bigint default NULL after b, add column added_11 bigint default NULL after b;
alter table bar add column added_1 bigint default NULL after b, add column added_11 bigint default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_1 bigint default NULL after b, add column added_21 bigint default 1234 after b;
alter table bar add column added_1 bigint default NULL after b, add column added_21 bigint default 1234 after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_1 bigint default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
alter table bar add column added_1 bigint default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_1 bigint default NULL after b, add column added_41 varchar(10) default NULL after b;
alter table bar add column added_1 bigint default NULL after b, add column added_41 varchar(10) default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_1 bigint default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
alter table bar add column added_1 bigint default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_1 bigint default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
alter table bar add column added_1 bigint default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_1 bigint default NULL after b, add column added_71 text default NULL after b;
alter table bar add column added_1 bigint default NULL after b, add column added_71 text default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_1 bigint default NULL after b, add column added_81 mediumtext default NULL after b;
alter table bar add column added_1 bigint default NULL after b, add column added_81 mediumtext default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_2 bigint default -1 after b, add column added_11 bigint default NULL after b;
alter table bar add column added_2 bigint default -1 after b, add column added_11 bigint default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_2 bigint default -1 after b, add column added_21 bigint default 1234 after b;
alter table bar add column added_2 bigint default -1 after b, add column added_21 bigint default 1234 after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_2 bigint default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
alter table bar add column added_2 bigint default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_2 bigint default -1 after b, add column added_41 varchar(10) default NULL after b;
alter table bar add column added_2 bigint default -1 after b, add column added_41 varchar(10) default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_2 bigint default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
alter table bar add column added_2 bigint default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_2 bigint default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
alter table bar add column added_2 bigint default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_2 bigint default -1 after b, add column added_71 text default NULL after b;
alter table bar add column added_2 bigint default -1 after b, add column added_71 text default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_2 bigint default -1 after b, add column added_81 mediumtext default NULL after b;
alter table bar add column added_2 bigint default -1 after b, add column added_81 mediumtext default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_11 bigint default NULL after b;
alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_11 bigint default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_21 bigint default 1234 after b;
alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_21 bigint default 1234 after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_31 bigint NOT NULL default 54 after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_41 varchar(10) default NULL after b;
alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_41 varchar(10) default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_51 varchar(10) default "abracadab" after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_71 text default NULL after b;
alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_71 text default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_3 bigint NOT NULL default -1 after b, add column added_81 mediumtext default NULL after b;
alter table bar add column added_3 bigint NOT NULL default -1 after b, add column added_81 mediumtext default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_4 varchar(10) default NULL after b, add column added_11 bigint default NULL after b;
alter table bar add column added_4 varchar(10) default NULL after b, add column added_11 bigint default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_4 varchar(10) default NULL after b, add column added_21 bigint default 1234 after b;
alter table bar add column added_4 varchar(10) default NULL after b, add column added_21 bigint default 1234 after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_4 varchar(10) default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
alter table bar add column added_4 varchar(10) default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_4 varchar(10) default NULL after b, add column added_41 varchar(10) default NULL after b;
alter table bar add column added_4 varchar(10) default NULL after b, add column added_41 varchar(10) default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_4 varchar(10) default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
alter table bar add column added_4 varchar(10) default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_4 varchar(10) default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
alter table bar add column added_4 varchar(10) default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_4 varchar(10) default NULL after b, add column added_71 text default NULL after b;
alter table bar add column added_4 varchar(10) default NULL after b, add column added_71 text default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_4 varchar(10) default NULL after b, add column added_81 mediumtext default NULL after b;
alter table bar add column added_4 varchar(10) default NULL after b, add column added_81 mediumtext default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_11 bigint default NULL after b;
alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_11 bigint default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_21 bigint default 1234 after b;
alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_21 bigint default 1234 after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_31 bigint NOT NULL default 54 after b;
alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_31 bigint NOT NULL default 54 after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_41 varchar(10) default NULL after b;
alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_41 varchar(10) default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_51 varchar(10) default "abracadab" after b;
alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_51 varchar(10) default "abracadab" after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_71 text default NULL after b;
alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_71 text default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_5 varchar(10) default "qwerty" after b, add column added_81 mediumtext default NULL after b;
alter table bar add column added_5 varchar(10) default "qwerty" after b, add column added_81 mediumtext default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_11 bigint default NULL after b;
alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_11 bigint default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_21 bigint default 1234 after b;
alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_21 bigint default 1234 after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_31 bigint NOT NULL default 54 after b;
alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_31 bigint NOT NULL default 54 after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_41 varchar(10) default NULL after b;
alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_41 varchar(10) default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_51 varchar(10) default "abracadab" after b;
alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_51 varchar(10) default "abracadab" after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_71 text default NULL after b;
alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_71 text default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_81 mediumtext default NULL after b;
alter table bar add column added_6 varchar(10) NOT NULL default "ruyrtt" after b, add column added_81 mediumtext default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_7 text default NULL after b, add column added_11 bigint default NULL after b;
alter table bar add column added_7 text default NULL after b, add column added_11 bigint default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_7 text default NULL after b, add column added_21 bigint default 1234 after b;
alter table bar add column added_7 text default NULL after b, add column added_21 bigint default 1234 after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_7 text default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
alter table bar add column added_7 text default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_7 text default NULL after b, add column added_41 varchar(10) default NULL after b;
alter table bar add column added_7 text default NULL after b, add column added_41 varchar(10) default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_7 text default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
alter table bar add column added_7 text default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_7 text default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
alter table bar add column added_7 text default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_7 text default NULL after b, add column added_71 text default NULL after b;
alter table bar add column added_7 text default NULL after b, add column added_71 text default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_7 text default NULL after b, add column added_81 mediumtext default NULL after b;
alter table bar add column added_7 text default NULL after b, add column added_81 mediumtext default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_8 mediumtext default NULL after b, add column added_11 bigint default NULL after b;
alter table bar add column added_8 mediumtext default NULL after b, add column added_11 bigint default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_8 mediumtext default NULL after b, add column added_21 bigint default 1234 after b;
alter table bar add column added_8 mediumtext default NULL after b, add column added_21 bigint default 1234 after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_8 mediumtext default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
alter table bar add column added_8 mediumtext default NULL after b, add column added_31 bigint NOT NULL default 54 after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_8 mediumtext default NULL after b, add column added_41 varchar(10) default NULL after b;
alter table bar add column added_8 mediumtext default NULL after b, add column added_41 varchar(10) default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_8 mediumtext default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
alter table bar add column added_8 mediumtext default NULL after b, add column added_51 varchar(10) default "abracadab" after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_8 mediumtext default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
alter table bar add column added_8 mediumtext default NULL after b, add column added_61 varchar(10) NOT NULL default "abracadab" after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_8 mediumtext default NULL after b, add column added_71 text default NULL after b;
alter table bar add column added_8 mediumtext default NULL after b, add column added_71 text default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_8 mediumtext default NULL after b, add column added_81 mediumtext default NULL after b;
alter table bar add column added_8 mediumtext default NULL after b, add column added_81 mediumtext default NULL after b;
source include/diff_tables.inc;
drop table foo; drop table bar;
create table foo (a int, b bigint, c date, d tinyint, aa blob, bb longblob, cc tinyblob, dd mediumblob) engine=TokuDB;
create table bar like foo;
alter table bar engine=MyISAM;
insert into foo values (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into foo values (NULL,NULL,NULL,NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,NULL,NULL,NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,NULL,NULL,NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,NULL,NULL,NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (-1,NULL,'2008-1-1',NULL,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (-1,NULL,'2008-1-1',NULL,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (NULL,12345678987,NULL,1,NULL,NULL,NULL,NULL);
insert into foo values (NULL,12345678987,NULL,1,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (NULL,12345678987,NULL,1,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (NULL,12345678987,NULL,1,"rewoiu","fds","fr","oiufdsrew");
insert into foo values (2,20,'1999-11-11',0,NULL,NULL,NULL,NULL);
insert into foo values (2,20,'1999-11-11',0,"adsf",NULL,"hjfdshj",NULL);
insert into foo values (2,20,'1999-11-11',0,NULL,"oifds",NULL,"fdsjfds");
insert into foo values (2,20,'1999-11-11',0,"rewoiu","fds","fr","oiufdsrew");
insert into bar select * from foo;
source include/diff_tables.inc;
alter table foo add column added_1 bigint default NULL, add column added_2 bigint default -1 after b, add column added_3 bigint NOT NULL default -1;
alter table bar add column added_1 bigint default NULL, add column added_2 bigint default -1 after b, add column added_3 bigint NOT NULL default -1;