#--source include/have_tokudb.inc SET DEFAULT_STORAGE_ENGINE='tokudb'; --disable_warnings DROP TABLE IF EXISTS foo,bar; --enable_warnings set session tokudb_disable_slow_alter=ON; let $diff_tables= test.foo, test.bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column aa; alter table bar drop column aa; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column bb; alter table bar drop column bb; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column cc; alter table bar drop column cc; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column dd; alter table bar drop column dd; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column aaa; alter table bar drop column aaa; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column bbb; alter table bar drop column bbb; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column ccc; alter table bar drop column ccc; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column ddd; alter table bar drop column ddd; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column aa, drop column bb; alter table bar drop column aa, drop column bb; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column aa, drop column cc; alter table bar drop column aa, drop column cc; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column aa, drop column dd; alter table bar drop column aa, drop column dd; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column aa, drop column aaa; alter table bar drop column aa, drop column aaa; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column aa, drop column bbb; alter table bar drop column aa, drop column bbb; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column aa, drop column ccc; alter table bar drop column aa, drop column ccc; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column aa, drop column ddd; alter table bar drop column aa, drop column ddd; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column bb, drop column aa; alter table bar drop column bb, drop column aa; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column bb, drop column cc; alter table bar drop column bb, drop column cc; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column bb, drop column dd; alter table bar drop column bb, drop column dd; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column bb, drop column aaa; alter table bar drop column bb, drop column aaa; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column bb, drop column bbb; alter table bar drop column bb, drop column bbb; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column bb, drop column ccc; alter table bar drop column bb, drop column ccc; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column bb, drop column ddd; alter table bar drop column bb, drop column ddd; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column cc, drop column aa; alter table bar drop column cc, drop column aa; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column cc, drop column bb; alter table bar drop column cc, drop column bb; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column cc, drop column dd; alter table bar drop column cc, drop column dd; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column cc, drop column aaa; alter table bar drop column cc, drop column aaa; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column cc, drop column bbb; alter table bar drop column cc, drop column bbb; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column cc, drop column ccc; alter table bar drop column cc, drop column ccc; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column cc, drop column ddd; alter table bar drop column cc, drop column ddd; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column dd, drop column aa; alter table bar drop column dd, drop column aa; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column dd, drop column bb; alter table bar drop column dd, drop column bb; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column dd, drop column cc; alter table bar drop column dd, drop column cc; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column dd, drop column aaa; alter table bar drop column dd, drop column aaa; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column dd, drop column bbb; alter table bar drop column dd, drop column bbb; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column dd, drop column ccc; alter table bar drop column dd, drop column ccc; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column dd, drop column ddd; alter table bar drop column dd, drop column ddd; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column aaa, drop column aa; alter table bar drop column aaa, drop column aa; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column aaa, drop column bb; alter table bar drop column aaa, drop column bb; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column aaa, drop column cc; alter table bar drop column aaa, drop column cc; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column aaa, drop column dd; alter table bar drop column aaa, drop column dd; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column aaa, drop column bbb; alter table bar drop column aaa, drop column bbb; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column aaa, drop column ccc; alter table bar drop column aaa, drop column ccc; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column aaa, drop column ddd; alter table bar drop column aaa, drop column ddd; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column bbb, drop column aa; alter table bar drop column bbb, drop column aa; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column bbb, drop column bb; alter table bar drop column bbb, drop column bb; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column bbb, drop column cc; alter table bar drop column bbb, drop column cc; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column bbb, drop column dd; alter table bar drop column bbb, drop column dd; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column bbb, drop column aaa; alter table bar drop column bbb, drop column aaa; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column bbb, drop column ccc; alter table bar drop column bbb, drop column ccc; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column bbb, drop column ddd; alter table bar drop column bbb, drop column ddd; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column ccc, drop column aa; alter table bar drop column ccc, drop column aa; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column ccc, drop column bb; alter table bar drop column ccc, drop column bb; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column ccc, drop column cc; alter table bar drop column ccc, drop column cc; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column ccc, drop column dd; alter table bar drop column ccc, drop column dd; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column ccc, drop column aaa; alter table bar drop column ccc, drop column aaa; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column ccc, drop column bbb; alter table bar drop column ccc, drop column bbb; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column ccc, drop column ddd; alter table bar drop column ccc, drop column ddd; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column ddd, drop column aa; alter table bar drop column ddd, drop column aa; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column ddd, drop column bb; alter table bar drop column ddd, drop column bb; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column ddd, drop column cc; alter table bar drop column ddd, drop column cc; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column ddd, drop column dd; alter table bar drop column ddd, drop column dd; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column ddd, drop column aaa; alter table bar drop column ddd, drop column aaa; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column ddd, drop column bbb; alter table bar drop column ddd, drop column bbb; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column ddd, drop column ccc; alter table bar drop column ddd, drop column ccc; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column aa, drop column bb, drop column cc; alter table bar drop column aa, drop column bb, drop column cc; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column aa, drop column bb, drop column dd; alter table bar drop column aa, drop column bb, drop column dd; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column aa, drop column cc, drop column dd; alter table bar drop column aa, drop column cc, drop column dd; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column bb, drop column cc, drop column dd; alter table bar drop column bb, drop column cc, drop column dd; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; 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; source include/diff_tables.inc; drop table foo; drop table bar; create table foo (aa blob, bb longblob, cc tinyblob, dd mediumblob, aaa varchar(12), bbb varbinary(20), ccc varchar(50), ddd varchar(3000)) 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 ("adsf",NULL,"hjfdshj",NULL,NULL,NULL,NULL,NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"adsf",NULL,"hjfdshj",NULL); insert into foo values ("adsf",NULL,"hjfdshj",NULL,NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("adsf",NULL,"hjfdshj",NULL,"rewoiu","fds","fr","oiufdsrew"); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,NULL,NULL,NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds","adsf",NULL,"hjfdshj",NULL); insert into foo values (NULL,"oifds",NULL,"fdsjfds",NULL,"oifds",NULL,"fdsjfds"); insert into foo values (NULL,"oifds",NULL,"fdsjfds","rewoiu","fds","fr","oiufdsrew"); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,NULL,NULL,NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew","adsf",NULL,"hjfdshj",NULL); insert into foo values ("rewoiu","fds","fr","oiufdsrew",NULL,"oifds",NULL,"fdsjfds"); insert into foo values ("rewoiu","fds","fr","oiufdsrew","rewoiu","fds","fr","oiufdsrew"); insert into bar select * from foo; source include/diff_tables.inc; alter table foo drop column aaa, drop column bbb, drop column ccc, drop column ddd; alter table bar drop column aaa, drop column bbb, drop column ccc, drop column ddd; source include/diff_tables.inc; drop table foo; drop table bar;