SET STORAGE_ENGINE='tokudb'; DROP TABLE IF EXISTS foo,bar; set session tokudb_disable_slow_alter=ON; 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column a; alter table bar drop column a; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column b; alter table bar drop column b; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column c; alter table bar drop column c; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column d; alter table bar drop column d; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column aa; alter table bar drop column aa; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column bb; alter table bar drop column bb; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column cc; alter table bar drop column cc; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column dd; alter table bar drop column dd; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column a, drop column b; alter table bar drop column a, drop column b; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column a, drop column c; alter table bar drop column a, drop column c; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column a, drop column d; alter table bar drop column a, drop column d; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column a, drop column aa; alter table bar drop column a, drop column aa; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column a, drop column bb; alter table bar drop column a, drop column bb; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column a, drop column cc; alter table bar drop column a, drop column cc; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column a, drop column dd; alter table bar drop column a, drop column dd; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column b, drop column a; alter table bar drop column b, drop column a; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column b, drop column c; alter table bar drop column b, drop column c; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column b, drop column d; alter table bar drop column b, drop column d; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column b, drop column aa; alter table bar drop column b, drop column aa; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column b, drop column bb; alter table bar drop column b, drop column bb; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column b, drop column cc; alter table bar drop column b, drop column cc; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column b, drop column dd; alter table bar drop column b, drop column dd; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column c, drop column a; alter table bar drop column c, drop column a; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column c, drop column b; alter table bar drop column c, drop column b; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column c, drop column d; alter table bar drop column c, drop column d; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column c, drop column aa; alter table bar drop column c, drop column aa; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column c, drop column bb; alter table bar drop column c, drop column bb; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column c, drop column cc; alter table bar drop column c, drop column cc; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column c, drop column dd; alter table bar drop column c, drop column dd; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column d, drop column a; alter table bar drop column d, drop column a; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column d, drop column b; alter table bar drop column d, drop column b; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column d, drop column c; alter table bar drop column d, drop column c; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column d, drop column aa; alter table bar drop column d, drop column aa; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column d, drop column bb; alter table bar drop column d, drop column bb; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column d, drop column cc; alter table bar drop column d, drop column cc; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column d, drop column dd; alter table bar drop column d, drop column dd; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column aa, drop column a; alter table bar drop column aa, drop column a; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column aa, drop column b; alter table bar drop column aa, drop column b; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column aa, drop column c; alter table bar drop column aa, drop column c; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column aa, drop column d; alter table bar drop column aa, drop column d; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column aa, drop column bb; alter table bar drop column aa, drop column bb; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column aa, drop column cc; alter table bar drop column aa, drop column cc; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column aa, drop column dd; alter table bar drop column aa, drop column dd; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column bb, drop column a; alter table bar drop column bb, drop column a; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column bb, drop column b; alter table bar drop column bb, drop column b; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column bb, drop column c; alter table bar drop column bb, drop column c; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column bb, drop column d; alter table bar drop column bb, drop column d; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column bb, drop column aa; alter table bar drop column bb, drop column aa; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column bb, drop column cc; alter table bar drop column bb, drop column cc; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column bb, drop column dd; alter table bar drop column bb, drop column dd; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column cc, drop column a; alter table bar drop column cc, drop column a; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column cc, drop column b; alter table bar drop column cc, drop column b; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column cc, drop column c; alter table bar drop column cc, drop column c; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column cc, drop column d; alter table bar drop column cc, drop column d; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column cc, drop column aa; alter table bar drop column cc, drop column aa; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column cc, drop column bb; alter table bar drop column cc, drop column bb; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column cc, drop column dd; alter table bar drop column cc, drop column dd; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column dd, drop column a; alter table bar drop column dd, drop column a; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column dd, drop column b; alter table bar drop column dd, drop column b; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column dd, drop column c; alter table bar drop column dd, drop column c; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column dd, drop column d; alter table bar drop column dd, drop column d; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column dd, drop column aa; alter table bar drop column dd, drop column aa; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column dd, drop column bb; alter table bar drop column dd, drop column bb; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column dd, drop column cc; alter table bar drop column dd, drop column cc; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column a, drop column b, drop column c; alter table bar drop column a, drop column b, drop column c; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column a, drop column b, drop column d; alter table bar drop column a, drop column b, drop column d; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column a, drop column c, drop column d; alter table bar drop column a, drop column c, drop column d; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column b, drop column c, drop column d; alter table bar drop column b, drop column c, drop column d; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column a, drop column b, drop column c, drop column d; alter table bar drop column a, drop column b, drop column c, drop column d; include/diff_tables.inc [test.foo, test.bar] 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; include/diff_tables.inc [test.foo, test.bar] alter table foo drop column aa, drop column bb, drop column cc, drop column dd; alter table bar drop column aa, drop column bb, drop column cc, drop column dd; include/diff_tables.inc [test.foo, test.bar] drop table foo; drop table bar;